{# One tool run, in the modal: the script or the arguments, and the output. The audit of what the assistant did; nothing here is editable. #} {% from "components/macros/layout.html" import code_block, dialog_title %} {% call dialog_title(run.tool) %}{% if run.failed %}

This run failed.

{% endif %}{% endcall %}
{% if run.code %}{{ code_block(run.code, "Script", "python") }}{% endif %} {% if run.args %}{{ code_block(run.args, "Arguments", "json") }}{% endif %} {% if run.output %}{{ code_block(run.output, "Output") }}{% endif %} {% if not run.code and not run.args and not run.output %}

No detail recorded for this call.

{% endif %}